function handleAddApplicationKeyRequest(xhr, status, args) {
	if (args.validationFailed) {
		return;
	}
	if (!args.applicationKeyAdded) {
		return;
	}
	addDialog.hide();
}

function handleAddApplicationCredentialRequest(xhr, status, args) {
	if (args.validationFailed) {
		return;
	}
	if (!args.applicationCredentialAdded) {
		return;
	}
	addCredentialDialog.hide();
}